package Model;

import java.awt.Point;

/**
 * Represents a tiny man stuck in a mouse tunnel maze
 * for the Escape to mouseland puzzle
 * -Created Class(Feb 2,2011)
 * Samual Martelli
 * </pre>
 */
public class TinyTim extends Player {

	private int trapsLeft;
	private boolean wantToTrap;
	public TinyTim(Point initialPlace) {
		super(initialPlace);
	}
	
	
		//TinyTim places traps only if user wants to and traps are left
		//, afterwards moveAction invokes hop
		//based on where his coordinates moved too
		public void moveAction(){
			if(doesWantToTrap() && trapsLeft > NO_ITEMS ){
				placeTrap(coordinates);
				trapsLeft--;
				setWantToTrap(false);
			}
			
		};
	
	
	//places a trap at cuurentSpot
	public void placeTrap(Point currentSpot){
		
	}
	public int getTrapsPlaced(){
		return trapsLeft;
	}


	public void setWantToTrap(boolean iWant) {
		wantToTrap = iWant;
	}


	public boolean doesWantToTrap() {
		return wantToTrap;
	}

}
